//引入axios实例
import sphRequest from '@/request/sph'
import zhaiRequest from '@/request/zhai'

// 首页三级分类
export const getBaseCategoryList = function () {
  return sphRequest('/product/getBaseCategoryList')
}

// 商品排行
export const getRankList = function () {
  return zhaiRequest('/rankList')
}

// 商品排行
export const getGoodsList = function (type) {
  return zhaiRequest('/goodsList/' + type)
}
